home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#24 (Sep 87)
/
fortran source
/
misc stuff
/
toolbx.par
< prev
Wrap
Text File
|
1987-08-09
|
58KB
|
2,100 lines
*****************************************************************************
*
* Title: Toolbox Call Trap Procedure Parameter File
*
* Produced by: Absoft South, Inc. Date: 11/08/84
*
* Purpose: To make calls to the toolbox call trap procedure more readible.
*
* Notes: The call to TOOLBX can take up to 10 parameters. Most functions
* (or procedures) do not require 10 parameters so the call should
* only include the documented number of parameters. For example:
* CALL TOOLBX (MOVETO,V,H)
* CALL TOOLBX (FRAMERECT,RECT)
*
* Warnings/Limitations: All parameters that are passed through this routine
* are either in some structure (such as an integer or character
* array) or stored in a 4 byte variable (ie - INTEGER*4). Note
* that all literals in a parameter string are converted to
* INTEGER*4.
*
* Calling Conventions:
* CALL TOOLBX (FNCTNM,PAR1,PAR2,...,PAR10)
* Where:
* FNCTNM = The name of the desired function (or procedure)
* as provided by the parameter file.
* PAR1...PAR10 = The parameters of the desired function
* (or procedure).
*
* Modification History:
*
* 19 Feb 86 Fixed OS traps to return A0. EWG
* 10 Mar 86 Fixed HOMERESFILE. EWG
*****************************************************************************
* Modification History:
*
* 19 Feb 86 Fixed OS traps to return A0. EWG
* 10 Mar 86 Fixed HOMERESFILE. EWG
* 17 Mar 86 Fixed EVENTAVAIL. EWG
* 15 May 86 Fixed SIZERESOURCE to return a LONGINT. EWG
* 23 Jun 86 Fixed HUNLOCK to take an argument. EWG
* 11 Aug 86 Fixed SETITEMSTYLE to take a VAL style argument.EWG
* 11 Aug 86 Fixed SPACEEXTRA to take a long (fixed) arg. EWG
* 13 Jan 87 Fixed SETRESINFO to take only 3 arguments. GEL
*****************************************************************************
* FUNCTION HomeResFile (TheResource: Handle) : Integer;
INTEGER HOMERESFILE
PARAMETER (HOMERESFILE=Z'9A450000')
* FUNCTION EventAvail (EventMask: Integer; VAR TheEvent: EventRecord):
* Boolean;
INTEGER EVENTAVAIL
PARAMETER (EVENTAVAIL=Z'971CE000')
* FUNCTION SizeResource (TheResource: Handle): Longint;
INTEGER SIZERESOURCE
PARAMETER (SIZERESOURCE=Z'9A590000')
* PROCEDURE HUnlock (H: Handle);
INTEGER HUNLOCK
PARAMETER (HUNLOCK=Z'02A80088')
* PROCEDURE SetItemStyle (Menu: MenuHandle; Item: Integer;
* ChStyle: Style);
INTEGER SETITEMSTYLE
PARAMETER (SETITEMSTYLE=Z'94211200')
* PROCEDURE SpaceExtra (extra: Integer);
INTEGER SPACEEXTRA
PARAMETER (SPACEEXTRA=Z'88E10000')
* PROCEDURE SetResInfo (TheResource: Handle; TheID: Integer;
* TheType: ResType; Name: Str255);
INTEGER SETRESINFO
PARAMETER (SETRESINFO=Z'9A911400')
* Flag bit definitions for file control words.
INTEGER ASYNC
PARAMETER (ASYNC=Z'40000000')
INTEGER SYS
PARAMETER (SYS=Z'20000000')
INTEGER IMMED
PARAMETER (IMMED=Z'20000000')
INTEGER REGS
PARAMETER (REGS=Z'10000000')
* String comparision flag definitions.
INTEGER MARKS
PARAMETER (MARKS=Z'20000000')
INTEGER CASE
PARAMETER (CASE=Z'40000000')
* System global used to find out if HFS is installed.
* Negative (word) if not.
INTEGER FSFCBLEN
PARAMETER (FSFCBLEN=Z'000003F6')
* Hierarchical file system call numbers. Use with HFSDispatch.
INTEGER OPENWD
PARAMETER (OPENWD=1)
INTEGER CLOSEWD
PARAMETER (CLOSEWD=2)
INTEGER CATMOVE
PARAMETER (CATMOVE=5)
INTEGER DIRCREATE
PARAMETER (DIRCREATE=6)
INTEGER GETWDINFO
PARAMETER (GETWDINFO=7)
INTEGER GETFCBINFO
PARAMETER (GETFCBINFO=8)
INTEGER GETCATINFO
PARAMETER (GETCATINFO=9)
INTEGER SETCATINFO
PARAMETER (SETCATINFO=10)
INTEGER HSETVOLINFO
PARAMETER (HSETVOLINFO=11)
* FUNCTION PBOpen (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBOPEN
PARAMETER (PBOPEN=Z'00080010')
* FUNCTION PBClose (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBCLOSE
PARAMETER (PBCLOSE=Z'00180010')
* FUNCTION PBRead (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBREAD
PARAMETER (PBREAD=Z'00280010')
* FUNCTION PBWrite (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBWRITE
PARAMETER (PBWRITE=Z'00380010')
* FUNCTION PBControl (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBCONTROL
PARAMETER (PBCONTROL=Z'00480010')
* FUNCTION PBStatus (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSTATUS
PARAMETER (PBSTATUS=Z'00580010')
* FUNCTION PBKillIO (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBKILLIO
PARAMETER (PBKILLIO=Z'00680010')
* FUNCTION PBGetVolInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBGETVOLINFO
PARAMETER (PBGETVOLINFO=Z'00780010')
* FUNCTION PBFileCreate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBFILECREATE
PARAMETER (PBFILECREATE=Z'00880010')
* FUNCTION PBFileDelete (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBFILEDELETE
PARAMETER (PBFILEDELETE=Z'00980010')
* FUNCTION PBOpenRf (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBOPENRF
PARAMETER (PBOPENRF=Z'00A80010')
* FUNCTION PBRename (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBRENAME
PARAMETER (PBRENAME=Z'00B80010')
* FUNCTION PBGetFileInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBGETFILEINFO
PARAMETER (PBGETFILEINFO=Z'00C80010')
* FUNCTION PBSetFileInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSETFILEINFO
PARAMETER (PBSETFILEINFO=Z'00D80010')
* FUNCTION PBUnmountVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBUNMOUNTVOL
PARAMETER (PBUNMOUNTVOL=Z'00E80010')
* FUNCTION PBMountVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBMOUNTVOL
PARAMETER (PBMOUNTVOL=Z'00F80010')
* FUNCTION PBFileAllocate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBFILEALLOCATE
PARAMETER (PBFILEALLOCATE=Z'01080010')
* FUNCTION PBGetEOF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBGETEOF
PARAMETER (PBGETEOF=Z'01180010')
* FUNCTION PBSetEOF (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSETEOF
PARAMETER (PBSETEOF=Z'01280010')
* FUNCTION PBFlushVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBFLUSHVOL
PARAMETER (PBFLUSHVOL=Z'01380010')
* FUNCTION PBGetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBGETVOL
PARAMETER (PBGETVOL=Z'01480010')
* FUNCTION PBSetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSETVOL
PARAMETER (PBSETVOL=Z'01580010')
* PROCEDURE InitQueue ;
INTEGER INITQUEUE
PARAMETER (INITQUEUE=Z'01600000')
* FUNCTION PBEject (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBEJECT
PARAMETER (PBEJECT=Z'01780010')
* FUNCTION PBGetFPos (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBGETFPOS
PARAMETER (PBGETFPOS=Z'01880010')
* Hierarchical File System (HFS) Definitions.
* FUNCTION PBHOpen (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHOPEN
PARAMETER (PBHOPEN=Z'20080010')
* FUNCTION PBHGetVolInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBGETVOLINFO
PARAMETER (PBGETVOLINFO=Z'20780010')
* FUNCTION PBHFileCreate (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHFILECREATE
PARAMETER (PBHFILECREATE=Z'20880010')
* FUNCTION PBHFileDelete (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHFILEDELETE
PARAMETER (PBHFILEDELETE=Z'20980010')
* FUNCTION PBHOpenRf (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHOPENRF
PARAMETER (PBHOPENRF=Z'20A80010')
* FUNCTION PBHRename (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHRENAME
PARAMETER (PBHRENAME=Z'20B80010')
* FUNCTION PBHGetFileInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHGETFILEINFO
PARAMETER (PBHGETFILEINFO=Z'20C80010')
* FUNCTION PBHSetFileInfo (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHSETFILEINFO
PARAMETER (PBHSETFILEINFO=Z'20D80010')
* FUNCTION PBAllocateContig (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBFILEALLOCATE
PARAMETER (PBFILEALLOCATE=Z'21080010')
* FUNCTION PBHGetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHGETVOL
PARAMETER (PBHGETVOL=Z'21480010')
* FUNCTION PBHSetVol (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBHSETVOL
PARAMETER (PBHSETVOL=Z'21580010')
* FUNCTION HFSDispatch (CallNumber : longint; paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER HFSDISPATCH
PARAMETER (HFSDISPATCH=Z'06010010')
* PROCEDURE InitZone (GrowProc: ProcPtr; MasterCount: Integer;
* LimitPtr,StartPtr: Ptr);
INTEGER INITZONE
PARAMETER (INITZONE=Z'01900004')
* FUNCTION GetZone : THz;
INTEGER GETZONE
PARAMETER (GETZONE=Z'11A000A8')
* PROCEDURE SetZone (Hz: THz);
INTEGER SETZONE
PARAMETER (SETZONE=Z'01B80008')
* FUNCTION FreeMem : LongInt;
INTEGER FREEMEM
PARAMETER (FREEMEM=Z'01C00024')
* FUNCTION MaxMem (VAR Grow: Size): Size;
INTEGER MAXMEM
PARAMETER (MAXMEM=Z'11DA0024')
INTEGER MAXMEM2
PARAMETER (MAXMEM2=Z'11DA00A4')
* FUNCTION NewPtr (logicalSize: Size) : Ptr;
INTEGER NEWPTR
PARAMETER (NEWPTR=Z'11E000A8')
* PROCEDURE DisposePtr (P: Ptr);
INTEGER DISPOSEPTR
PARAMETER (DISPOSEPTR=Z'01F80008')
* PROCEDURE SetPtrSize (P: Ptr; NewSize: Size);
INTEGER SETPTRSIZE
PARAMETER (SETPTRSIZE=Z'02080008')
* FUNCTION GetPtrSize (P: Ptr): Size;
INTEGER GETPTRSIZE
PARAMETER (GETPTRSIZE=Z'02180028')
* FUNCTION NewHandle (LogicalSize: Size): Handle;
INTEGER NEWHANDLE
PARAMETER (NEWHANDLE=Z'122000A8')
* PROCEDURE DisposHandle (H: Handle)
INTEGER DISPOSHANDLE
PARAMETER (DISPOSHANDLE=Z'02380008')
* PROCEDURE SetHandleSize (H: Handle; NewSize: Size);
INTEGER SETHANDLESIZE
PARAMETER (SETHANDLESIZE=Z'02480008')
* FUNCTION GetHandleSize (H: Handle): Size;
INTEGER GETHANDLESIZE
PARAMETER (GETHANDLESIZE=Z'02580028')
* FUNCTION HandleZone (H: Handle): THz;
INTEGER HANDLEZONE
PARAMETER (HANDLEZONE=Z'126800A8')
* PROCEDURE ReAllocHandle (H: Handle; LogicalSize: Size);
INTEGER REALLOCHANDLE
PARAMETER (REALLOCHANDLE=Z'02780008')
* FUNCTION RecoverHandle (P: Ptr): Handle;
INTEGER RECOVERHANDLE
PARAMETER (RECOVERHANDLE=Z'128800A4')
* PROCEDURE HLock (H: Handle);
INTEGER HLOCK
PARAMETER (HLOCK=Z'02980008')
* PROCEDURE EmptyHandle (H: Handle);
INTEGER EMPTYHANDLE
PARAMETER (EMPTYHANDLE=Z'02B80008')
* PROCEDURE InitApplZone ;
INTEGER INITAPPLZONE
PARAMETER (INITAPPLZONE=Z'02C00004')
* PROCEDURE SetApplLimit (ZoneLimit: Ptr);
INTEGER SETAPPLLIMIT
PARAMETER (SETAPPLLIMIT=Z'02D80008')
* PROCEDURE BlockMove (SourcePtr,DestPtr: Ptr; ByteCount: Size);
INTEGER BLOCKMOVE
PARAMETER (BLOCKMOVE=Z'02E98008')
* FUNCTION PostEvent (EventCode: Integer; EventMsg: LongInt) : OSErr;
INTEGER POSTEVENT
PARAMETER (POSTEVENT=Z'02F80010')
* FUNCTION OSEventAvail (eventMask: INTEGER;
* VAR theEvent: EventRecord) : BOOLEAN;
INTEGER OSEVENTAVAIL
PARAMETER (OSEVENTAVAIL=Z'03014010')
* FUNCTION GetOSEvent (eventMask: INTEGER; VAR theEvent: EventRecord) : BOOLEAN
INTEGER GETOSEVENT
PARAMETER (GETOSEVENT=Z'03114010')
* PROCEDURE FlushEvents (EventMask .OR. StopMask: Integer);
INTEGER FLUSHEVENTS
PARAMETER (FLUSHEVENTS=Z'03200010')
* FUNCTION OffLine (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER OFFLINE
PARAMETER (OFFLINE=Z'03580010')
* PROCEDURE MoreMasters ;
INTEGER MOREMASTERS
PARAMETER (MOREMASTERS=Z'03600004')
* FUNCTION WriteParam (SysParam: PTR, MinusOne: LongInt) : OSErr;
INTEGER WRITEPARAM
PARAMETER (WRITEPARAM=Z'03880010')
* FUNCTION ReadDateTime (VAR Secs: LongInt): OsErr;
INTEGER READDATETIME
PARAMETER (READDATETIME=Z'039A0010')
* FUNCTION SetDateTime (Secs: LongInt): OsErr;
INTEGER SETDATETIME
PARAMETER (SETDATETIME=Z'03A00010')
* PROCEDURE Delay (NumTicks: LongInt; VAR FinalTicks: LongInt);
INTEGER DELAY
PARAMETER (DELAY=Z'03B80020')
* FUNCTION EqualString (AStr,BStr: Str255; Case,Marks: Boolean): Boolean;
INTEGER EQUALSTRING
PARAMETER (EQUALSTRING=Z'03CBC020')
* FUNCTION InitUtil : OsErr;
INTEGER INITUTIL
PARAMETER (INITUTIL=Z'03F00010')
* PROCEDURE ResrvMem (CbNeeded: Size);
INTEGER RESRVMEM
PARAMETER (RESRVMEM=Z'04000008')
* FUNCTION PBSetFilLock (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSETFILLOCK
PARAMETER (PBSETFILLOCK=Z'04180010')
* FUNCTION PBRstFilLock (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBRSTFILLOCK
PARAMETER (PBRSTFILLOCK=Z'04280010')
* FUNCTION PBSetFilType (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSETFILTYPE
PARAMETER (PBSETFILTYPE=Z'04380010')
* FUNCTION PBSetFPos (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBSETFPOS
PARAMETER (PBSETFPOS=Z'04480010')
* FUNCTION PBFlushFil (paramBlock: ParmBlkPtr; async: BOOLEAN) : OSErr;
INTEGER PBFLUSHFIL
PARAMETER (PBFLUSHFIL=Z'04580010')
* FUNCTION GetTrapAddress (trapNum: INTEGER) : LongInt;
INTEGER GETTRAPADDRESS
PARAMETER (GETTRAPADDRESS=Z'146000A0')
* FUNCTION SetTrapAddress (trapAddr: LongInt; trapNum: INTEGER);
INTEGER SETTRAPADDRESS
PARAMETER (SETTRAPADDRESS=Z'04780000')
* FUNCTION PtrZone (P: Ptr): THz;
INTEGER PTRZONE
PARAMETER (PTRZONE=Z'148800A8')
* PROCEDURE HPurge (H: Handle);
INTEGER HPURGE
PARAMETER (HPURGE=Z'04980008')
* PROCEDURE HNoPurge (H: Handle);
INTEGER HNOPURGE
PARAMETER (HNOPURGE=Z'04A80008')
* PROCEDURE SetGrowZone (GrowZone: ProcPtr);
INTEGER SETGROWZONE
PARAMETER (SETGROWZONE=Z'04B80008')
* FUNCTION CompactMem (CbNeeded: Size): Size;
INTEGER COMPACTMEM
PARAMETER (COMPACTMEM=Z'04C00024')
* PROCEDURE PurgeMem (CbNeeded: Size);
INTEGER PURGEMEM
PARAMETER (PURGEMEM=Z'04D00008')
* PROCEDURE InitCursor ;
INTEGER INITCURSOR
PARAMETER (INITCURSOR=Z'85000000')
* PROCEDURE SetCursor (Crsr: Cursor);
INTEGER SETCURSOR
PARAMETER (SETCURSOR=Z'85130000')
* PROCEDURE HideCursor ;
INTEGER HIDECURSOR
PARAMETER (HIDECURSOR=Z'85200000')
* PROCEDURE ShowCursor ;
INTEGER SHOWCURSOR
PARAMETER (SHOWCURSOR=Z'85300000')
* PROCEDURE UprString (VAR TheString: Str255; Marks: Boolean);
INTEGER UPRSTRING
PARAMETER (UPRSTRING=Z'85433000')
* PROCEDURE ShieldCursor (Left,Top,Right,Bottom: Integer);
INTEGER SHIELDCURSOR
PARAMETER (SHIELDCURSOR=Z'85509100')
* PROCEDURE ObscureCursor ;
INTEGER OBSCURECURSOR
PARAMETER (OBSCURECURSOR=Z'85600000')
* PROCEDURE SetApplBase (StartPtr: Ptr);
INTEGER SETAPPLBASE
PARAMETER (SETAPPLBASE=Z'85710000')
* FUNCTION BitAnd (Long1,Long2: LongInt): LongInt;
INTEGER BITAND
PARAMETER (BITAND=Z'85892000')
* FUNCTION BitXor (Long1,Long2: LongInt): LongInt;
INTEGER BITXOR
PARAMETER (BITXOR=Z'85992000')
* FUNCTION BitNot (Long: LongInt): LongInt;
INTEGER BITNOT
PARAMETER (BITNOT=Z'85A90000')
* FUNCTION BitOr (Long1,Long2: LongInt): LongInt;
INTEGER BITOR
PARAMETER (BITOR=Z'85B92000')
* FUNCTION BitShift (Long: LongInt; Count: Integer): LongInt;
INTEGER BITSHIFT
PARAMETER (BITSHIFT=Z'85C91000')
* FUNCTION BitTst (BytePtr: Ptr; BitNum: LongInt): Boolean;
INTEGER BITTST
PARAMETER (BITTST=Z'85DD2000')
* PROCEDURE BitSet (BytePtr: Ptr; BitNum: LongInt);
INTEGER BITSET
PARAMETER (BITSET=Z'85E12000')
* PROCEDURE BitClr (BytePtr: Ptr; BitNum: LongInt);
INTEGER BITCLR
PARAMETER (BITCLR=Z'85F12000')
* FUNCTION Random : Integer;
INTEGER RANDOM
PARAMETER (RANDOM=Z'86140000')
* PROCEDURE ForeColor (Color: LongInt);
INTEGER FORECOLOR
PARAMETER (FORECOLOR=Z'86210000')
* PROCEDURE BackColor (Color: LongInt);
INTEGER BACKCOLOR
PARAMETER (BACKCOLOR=Z'86310000')
* PROCEDURE ColorBit (WhichBit: Integer);
INTEGER COLORBIT
PARAMETER (COLORBIT=Z'86408000')
* FUNCTION GetPixel (H,V: Integer): Boolean;
INTEGER GETPIXEL
PARAMETER (GETPIXEL=Z'865C9000')
* PROCEDURE StuffHex (ThingPtr: Ptr; S: Str255);
INTEGER STUFFHEX
PARAMETER (STUFFHEX=Z'86616000')
* PROCEDURE LongMul (A,B: LongInt; VAR Dest: Int64Bit);
INTEGER LONGMUL
PARAMETER (LONGMUL=Z'86712C00')
* FUNCTION FixMul (A,B: Fixed): Integer;
INTEGER FIXMUL
PARAMETER (FIXMUL=Z'86852000')
* FUNCTION FixRatio (Numerator,Denominator: Integer): Fixed;
INTEGER FIXRATIO
PARAMETER (FIXRATIO=Z'86989000')
* FUNCTION HiWord (X: LongInt): Integer;
INTEGER HIWORD
PARAMETER (HIWORD=Z'86A50000')
* FUNCTION LoWord (X: LongInt): Integer;
INTEGER LOWORD
PARAMETER (LOWORD=Z'86B50000')
* FUNCTION FixRound (X: Fixed): Integer;
INTEGER FIXROUND
PARAMETER (FIXROUND=Z'86C50000')
* PROCEDURE InitPort (GlobalPtr: QDPtr);
INTEGER INITPORT
PARAMETER (INITPORT=Z'86D10000')
* PROCEDURE InitGraf (Gp: GrafPtr);
INTEGER INITGRAF
PARAMETER (INITGRAF=Z'86E10000')
* PROCEDURE OpenPort (Gp: GrafPtr);
INTEGER OPENPORT
PARAMETER (OPENPORT=Z'86F10000')
* PROCEDURE LocalToGlobal (VAR Pt: Point);
INTEGER LOCALTOGLOBAL
PARAMETER (LOCALTOGLOBAL=Z'87030000')
* PROCEDURE GlobalToLocal (VAR Pt: Point);
INTEGER GLOBALTOLOCAL
PARAMETER (GLOBALTOLOCAL=Z'87130000')
* PROCEDURE GrafDevice (Device: Integer);
INTEGER GRAFDEVICE
PARAMETER (GRAFDEVICE=Z'87208000')
* PROCEDURE SetPort (Gp: GrafPtr);
INTEGER SETPORT
PARAMETER (SETPORT=Z'87310000')
* PROCEDURE GetPort (VAR Gp: GrafPtr);
INTEGER GETPORT
PARAMETER (GETPORT=Z'87430000')
* PROCEDURE SetPortBits (Bm: Bitmap);
INTEGER SETPORTBITS
PARAMETER (SETPORTBITS=Z'87530000')
* PROCEDURE PortSize (Width,Height: Integer);
INTEGER PORTSIZE
PARAMETER (PORTSIZE=Z'87609000')
* PROCEDURE MovePortTo (LeftGlobal,TopGlobal: Integer);
INTEGER MOVEPORTTO
PARAMETER (MOVEPORTTO=Z'87709000')
* PROCEDURE SetOrigin (H,V: Integer);
INTEGER SETORIGIN
PARAMETER (SETORIGIN=Z'87809000')
* PROCEDURE SetClip (Rgn: RgnHandle);
INTEGER SETCLIP
PARAMETER (SETCLIP=Z'87910000')
* PROCEDURE GetClip (Rgn: RgnHandle);
INTEGER GETCLIP
PARAMETER (GETCLIP=Z'87A10000')
* PROCEDURE ClipRect (R: Rect);
INTEGER CLIPRECT
PARAMETER (CLIPRECT=Z'87B30000')
* PROCEDURE BackPat (Pat: Pattern);
INTEGER BACKPAT
PARAMETER (BACKPAT=Z'87C30000')
* PROCEDURE ClosePort (Gp: GrafPtr);
INTEGER CLOSEPORT
PARAMETER (CLOSEPORT=Z'87D10000')
* PROCEDURE AddPt (SrcPt: Point; VAR DstPt: Point);
INTEGER ADDPT
PARAMETER (ADDPT=Z'87E16000')
* PROCEDURE SubPt (SrcPt: Point; VAR DstPt: Point);
INTEGER SUBPT
PARAMETER (SUBPT=Z'87F16000')
* PROCEDURE SetPt (VAR Pt: Point; H,V: Integer);
INTEGER SETPT
PARAMETER (SETPT=Z'88031200')
* FUNCTION EqualPt (PtA,PtB: Point) : Boolean;
INTEGER EQUALPT
PARAMETER (EQUALPT=Z'881D2000')
* PROCEDURE StdText (ByteCount: Integer; TextAddr: QDPtr;
* Numer,Decom: Point);
INTEGER STDTEXT
PARAMETER (STDTEXT=Z'8820A480')
* PROCEDURE DrawChar (Ch: Char)
INTEGER DRAWCHAR
PARAMETER (DRAWCHAR=Z'88308000')
* PROCEDURE DrawString (S: Str255);
INTEGER DRAWSTRING
PARAMETER (DRAWSTRING=Z'88430000')
* PROCEDURE DrawText (TextBuf: QDPtr; FirstByte,ByteCount: Integer);
INTEGER DRAWTEXT
PARAMETER (DRAWTEXT=Z'88511200')
* FUNCTION TextWidth (TextBuf: QDPtr; FirstByte,ByteCount: Integer)
* : Integer;
INTEGER TEXTWIDTH
PARAMETER (TEXTWIDTH=Z'88651200')
* PROCEDURE TextFont (Font: Integer);
INTEGER TEXTFONT
PARAMETER (TEXTFONT=Z'88708000')
* PROCEDURE TextFace (Face: Style);
INTEGER TEXTFACE
PARAMETER (TEXTFACE=Z'88808000')
* PROCEDURE TextMode (Mode: Integer);
INTEGER TEXTMODE
PARAMETER (TEXTMODE=Z'88908000')
* PROCEDURE TextSize (Size: Integer);
INTEGER TEXTSIZE
PARAMETER (TEXTSIZE=Z'88A08000')
* PROCEDURE GetFontInfo (VAR Info: FontInfo);
INTEGER GETFONTINFO
PARAMETER (GETFONTINFO=Z'88B30000')
* FUNCTION StringWidth (S: Str255) : Integer;
INTEGER STRINGWIDTH
PARAMETER (STRINGWIDTH=Z'88C70000')
* FUNCTION CharWidth (Ch: Char) : Integer
INTEGER CHARWIDTH
PARAMETER (CHARWIDTH=Z'88D48000')
* PROCEDURE StdLine (NewPt: Point);
INTEGER STDLINE
PARAMETER (STDLINE=Z'89010000')
* PROCEDURE Lineto (H,V: Integer);
INTEGER LINETO
PARAMETER (LINETO=Z'89109000')
* PROCEDURE Line (Dh,Dv: Integer);
INTEGER LINE
PARAMETER (LINE=Z'89209000')
* PROCEDURE Moveto (H,V: Integer);
INTEGER MOVETO
PARAMETER (MOVETO=Z'89309000')
* PROCEDURE Move (Dh,Dv: Integer);
INTEGER MOVE
PARAMETER (MOVE=Z'89409000')
* PROCEDURE HidePen ;
INTEGER HIDEPEN
PARAMETER (HIDEPEN=Z'89600000')
* PROCEDURE ShowPen ;
INTEGER SHOWPEN
PARAMETER (SHOWPEN=Z'89700000')
* PROCEDURE GetPenState (VAR PnState: PenState);
INTEGER GETPENSTATE
PARAMETER (GETPENSTATE=Z'89830000')
* PROCEDURE SetPenState (PnState: PenState);
INTEGER SETPENSTATE
PARAMETER (SETPENSTATE=Z'89930000')
* PROCEDURE GetPen (VAR Pt: Point);
INTEGER GETPEN
PARAMETER (GETPEN=Z'89A30000')
* PROCEDURE PenSize (Width,Height: Integer);
INTEGER PENSIZE
PARAMETER (PENSIZE=Z'89B09000')
* PROCEDURE PenMode (Mode: Integer);
INTEGER PENMODE
PARAMETER (PENMODE=Z'89C08000')
* PROCEDURE Penpat (Pat: Pattern);
INTEGER PENPAT
PARAMETER (PENPAT=Z'89D30000')
* PROCEDURE PenNormal ;
INTEGER PENNORMAL
PARAMETER (PENNORMAL=Z'89E00000')
* PROCEDURE StdRect (Verb: GrafVerb; R: Rect);
INTEGER STDRECT
PARAMETER (STDRECT=Z'8A00E000')
* PROCEDURE FrameRect (R: Rect);
INTEGER FRAMERECT
PARAMETER (FRAMERECT=Z'8A130000')
* PROCEDURE PaintRect (R: Rect);
INTEGER PAINTRECT
PARAMETER (PAINTRECT=Z'8A230000')
* PROCEDURE EraseRect (R: Rect);
INTEGER ERASERECT
PARAMETER (ERASERECT=Z'8A330000')
* PROCEDURE InvertRect (R: Rect);
INTEGER INVERTRECT
PARAMETER (INVERTRECT=Z'8A430000')
* PROCEDURE FillRect (R: Rect; Pat: Pattern);
INTEGER FILLRECT
PARAMETER (FILLRECT=Z'8A536000')
* FUNCTION EqualRect (RectA,RectB: Rect) : Boolean;
INTEGER EQUALRECT
PARAMETER (EQUALRECT=Z'8A6F6000')
* PROCEDURE SetRect (VAR R: Rect; Left,Top,Right,Bottom: Integer);
INTEGER SETRECT
PARAMETER (SETRECT=Z'8A731248')
* PROCEDURE OffsetRect (VAR R: Rect; Dh,Dv: Integer);
INTEGER OFFSETRECT
PARAMETER (OFFSETRECT=Z'8A831200')
* PROCEDURE InsetRect (VAR R: Rect; Dh,Dv: Integer)
INTEGER INSETRECT
PARAMETER (INSETRECT=Z'8A931200')
* FUNCTION SectRect (SrcRectA,SrcRectB: Rect; VAR DstRect: Rect) : Boolean;
INTEGER SECTRECT
PARAMETER (SECTRECT=Z'8AAF6C00')
* PROCEDURE UnionRect (SrcRectA,SrcRectB: Rect; VAR DstRect: Rect);
INTEGER UNIONRECT
PARAMETER (UNIONRECT=Z'8AB36C00')
* PROCEDURE Pt2Rect (PtA,PtB: Point; VAR dstRect: Rect);
INTEGER PT2RECT
PARAMETER (PT2RECT=Z'8AC12C00')
* FUNCTION PtInRect (Pt: Point; R: Rect) : Boolean;
INTEGER PTINRECT
PARAMETER (PTINRECT=Z'8ADD6000')
* FUNCTION EmptyRect (R: Rect) : Boolean;
INTEGER EMPTYRECT
PARAMETER (EMPTYRECT=Z'8AEF0000')
* PROCEDURE StdRRect (Verb: GrafVerb; R: Rect; Ovalwidth,OvalHeight
* : Integer);
INTEGER STDRRECT
PARAMETER (STDRRECT=Z'8AF0E240')
* PROCEDURE FrameRoundRect (R: Rect; OvalWidth,OvalHeight: Integer);
INTEGER FRAMEROUNDRECT
PARAMETER (FRAMEROUNDRECT=Z'8B031200')
* PROCEDURE PaintRountRect (R: Rect; OvalWidth,OvalHeight: Integer);
INTEGER PAINTROUNTRECT
PARAMETER (PAINTROUNTRECT=Z'8B131200')
* PROCEDURE EraseRoundRect (R: Rect; OvalWidth,OvalHeight: Integer);
INTEGER ERASEROUNDRECT
PARAMETER (ERASEROUNDRECT=Z'8B231200')
* PROCEDURE InvertRoundRect (R: Rect; OvalWidth,OvalHeight: Integer);
INTEGER INVERTROUNDRECT
PARAMETER (INVERTROUNDRECT=Z'8B331200')
* PROCEDURE FillRoundRect (R: Rect; OvalWidth,OvalHeight: Integer;
* Pat: Pattern);
INTEGER FILLROUNDRECT
PARAMETER (FILLROUNDRECT=Z'8B431380')
* PROCEDURE StdOval (Verb: GrafVerb; R: Rect);
INTEGER STDOVAL
PARAMETER (STDOVAL=Z'8B60E000')
* PROCEDURE FrameOval (R: Rect);
INTEGER FRAMEOVAL
PARAMETER (FRAMEOVAL=Z'8B730000')
* PROCEDURE PaintOval (R: Rect);
INTEGER PAINTOVAL
PARAMETER (PAINTOVAL=Z'8B830000')
* PROCEDURE EraseOval (R: Rect);
INTEGER ERASEOVAL
PARAMETER (ERASEOVAL=Z'8B930000')
* PROCEDURE InvertOval (R: Rect);
INTEGER INVERTOVAL
PARAMETER (INVERTOVAL=Z'8BA30000')
* PROCEDURE FillOval (R: Rect; Pat: Pattern);
INTEGER FILLOVAL
PARAMETER (FILLOVAL=Z'8BB36000')
* FUNCTION SlopeFromAngle (angle: INTEGER) : Fixed;
INTEGER SLOPEFROMANGLE
PARAMETER (SLOPEFROMANGLE=Z'8BC88000')
* PROCEDURE StdArc (Verb: GrafVerb; R: Rect; StartAngle,ArcAngle: Integer);
INTEGER STDARC
PARAMETER (STDARC=Z'8BD0E240')
* PROCEDURE FrameArc (R: Rect; StartAngle,ArcAngle: Integer);
INTEGER FRAMEARC
PARAMETER (FRAMEARC=Z'8BE31200')
* PROCEDURE PaintArc (R: Rect; StartAngle,ArcAngle: Integer);
INTEGER PAINTARC
PARAMETER (PAINTARC=Z'8BF31200')
* PROCEDURE EraseArc (R: Rect; StartAngle,ArcAngle: Integer);
INTEGER ERASEARC
PARAMETER (ERASEARC=Z'8C031200')
* PROCEDURE InvertArc (R: Rect; StartAngle,ArcAngle: Integer);
INTEGER INVERTARC
PARAMETER (INVERTARC=Z'8C131200')
* PROCEDURE FillArc (R: Rect; StartAngle,ArcAngle: Integer;Pat: Pattern);
INTEGER FILLARC
PARAMETER (FILLARC=Z'8C231380')
* PROCEDURE PtToAngle (R: Rect; Pt: Point; VAR Angle: Integer);
INTEGER PTTOANGLE
PARAMETER (PTTOANGLE=Z'8C332C00')
* FUNCTION AngleFromSlope (slope: Fixed) : INTEGER;
INTEGER ANGLEFROMSLOPE
PARAMETER (ANGLEFROMSLOPE=Z'8C450000')
* PROCEDURE StdPoly (Verb: GrafVerb; Poly: PolyHandle);
INTEGER STDPOLY
PARAMETER (STDPOLY=Z'8C50A000')
* PROCEDURE FramePoly (Poly: PolyHandle);
INTEGER FRAMEPOLY
PARAMETER (FRAMEPOLY=Z'8C610000')
* PROCEDURE PaintPoly (Poly: PolyHandle);
INTEGER PAINTPOLY
PARAMETER (PAINTPOLY=Z'8C710000')
* PROCEDURE ErasePoly (Poly: PolyHandle);
INTEGER ERASEPOLY
PARAMETER (ERASEPOLY=Z'8C810000')
* PROCEDURE InvertPoly (Poly: PolyHandle);
INTEGER INVERTPOLY
PARAMETER (INVERTPOLY=Z'8C910000')
* PROCEDURE FillPoly (Poly: PolyHandle;Pat: Pattern);
INTEGER FILLPOLY
PARAMETER (FILLPOLY=Z'8CA16000')
* FUNCTION OpenPoly : PolyHandle;
INTEGER OPENPOLY
PARAMETER (OPENPOLY=Z'8CB80000')
* PROCEDURE ClosePoly ;
INTEGER CLOSEPOLY
PARAMETER (CLOSEPOLY=Z'8CC00000')
* PROCEDURE KillPoly (Poly: PolyHandle);
INTEGER KILLPOLY
PARAMETER (KILLPOLY=Z'8CD10000')
* PROCEDURE OffsetPoly (Poly: PolyHandle; Dh,Dv: Integer);
INTEGER OFFSETPOLY
PARAMETER (OFFSETPOLY=Z'8CE11200')
* PROCEDURE PackBits (VAR srcPtr,dstPtr: Ptr; srcBytes: INTEGER);
INTEGER PACKBITS
PARAMETER (PACKBITS=Z'8CF36200')
* UnpackBits (VAR srcPtr,dstPtr: Ptr; dstBytes: INTEGER);
INTEGER UNPACKBITS
PARAMETER (UNPACKBITS=Z'8D036200')
* PROCEDURE StdRgn (Verb: GrafVerb; Rgn: RgnHandle);
INTEGER STDRGN
PARAMETER (STDRGN=Z'8D10A000')
* PROCEDURE FrameRgn (Rgn: RgnHandle);
INTEGER FRAMERGN
PARAMETER (FRAMERGN=Z'8D210000')
* PROCEDURE PaintRgn (Rgn: RgnHandle);
INTEGER PAINTRGN
PARAMETER (PAINTRGN=Z'8D310000')
* PROCEDURE EraseRgn (Rgn: RgnHandle);
INTEGER ERASERGN
PARAMETER (ERASERGN=Z'8D410000')
* PROCEDURE InvertRgn (Rgn: RgnHandle);
INTEGER INVERTRGN
PARAMETER (INVERTRGN=Z'8D510000')
* PROCEDURE FillRgn (Rgn: RgnHandle; Pat: Pattern);
INTEGER FILLRGN
PARAMETER (FILLRGN=Z'8D616000')
* FUNCTION NewRgn : RgnHandle;
INTEGER NEWRGN
PARAMETER (NEWRGN=Z'8D880000')
* PROCEDURE DisposeRgn (Rgn: RgnHandle);
INTEGER DISPOSERGN
PARAMETER (DISPOSERGN=Z'8D910000')
* PROCEDURE OpenRgn ;
INTEGER OPENRGN
PARAMETER (OPENRGN=Z'8DA00000')
* PROCEDURE CloseRgn (DstRgn: RgnHandle);
INTEGER CLOSERGN
PARAMETER (CLOSERGN=Z'8DB10000')
* PROCEDURE CopyRgn (SrcRgn,DstRgn: RgnHandle);
INTEGER COPYRGN
PARAMETER (COPYRGN=Z'8DC12000')
* PROCEDURE SetEmptyRgn (Rgn: RgnHandle);
INTEGER SETEMPTYRGN
PARAMETER (SETEMPTYRGN=Z'8DD10000')
* PROCEDURE SetRectRgn (Rgn: RgnHandle; Left,Top,Right,Bottom: Integer);
INTEGER SETRECTRGN
PARAMETER (SETRECTRGN=Z'8DE11248')
* PROCEDURE RectRgn (Rgn: RgnHandle; R: Rect);
INTEGER RECTRGN
PARAMETER (RECTRGN=Z'8DF16000')
* PROCEDURE OffsetRgn (Rgn: RgnHandle; Dh,Dv: Integer);
INTEGER OFFSETRGN
PARAMETER (OFFSETRGN=Z'8E011200')
* PROCEDURE InsetRgn (Rgn: RgnHandle; Dh,Dv: Integer);
INTEGER INSETRGN
PARAMETER (INSETRGN=Z'8E111200')
* FUNCTION EmptyRgn (Rgn: RgnHandle): Boolean;
INTEGER EMPTYRGN
PARAMETER (EMPTYRGN=Z'8E2D0000')
* FUNCTION EqualRgn (RgnA,RgnB: RgnHandle): Boolean;
INTEGER EQUALRGN
PARAMETER (EQUALRGN=Z'8E3D2000')
* PROCEDURE SectRgn (SrcRgnA,SrcRgnB,DstRgn: RgnHandle);
INTEGER SECTRGN
PARAMETER (SECTRGN=Z'8E412400')
* PROCEDURE UnionRgn (SrcRgnA,SrcRgnB,DstRgn: RgnHandle);
INTEGER UNIONRGN
PARAMETER (UNIONRGN=Z'8E512400')
* PROCEDURE DiffRgn (SrcRgnA,SrcRgnB,DstRgn: RgnHandle);
INTEGER DIFFRGN
PARAMETER (DIFFRGN=Z'8E612400')
* PROCEDURE XOrRgn (SrcRgnA,SrcRgnB,DstRgn: RgnHandle);
INTEGER XORRGN
PARAMETER (XORRGN=Z'8E712400')
* FUNCTION PtInRgn (Pt: Point; Rgn: RgnHandle): Boolean;
INTEGER PTINRGN
PARAMETER (PTINRGN=Z'8E8D2000')
* FUNCTION RectInRgn (R: Rect; Rgn: RgnHandle): Boolean;
INTEGER RECTINRGN
PARAMETER (RECTINRGN=Z'8E9F2000')
* PROCEDURE SetStdProcs (VAR Procs: QDProcs);
INTEGER SETSTDPROCS
PARAMETER (SETSTDPROCS=Z'8EA30000')
* PROCEDURE StdBits (VAR SrcBits: BitMap; VAR SrcRect,DstRect: Rect;
* Mode: Integer; MaskRgn: RgnHandle);
INTEGER STDBITS
PARAMETER (STDBITS=Z'8EB36C50')
* PROCEDURE CopyBits (SrcBits,DstBits: BitMap; SrcRect,DstRect: Rect;
* Mode: Integer; MaskRgn: RgnHandle);
INTEGER COPYBITS
PARAMETER (COPYBITS=Z'8EC36D8A')
* FUNCTION StdTxMeasure (ByteCount: Integer; TextBuf: QDPtr; VAR Numer,
* Denom: Point; VAR Info: FontInfo): Integer;
INTEGER STDTXMEASURE
PARAMETER (STDTXMEASURE=Z'8ED4ADB0')
* PROCEDURE StdGetPic (DataPtr: QDPtr; ByteCount: Integer);
INTEGER STDGETPIC
PARAMETER (STDGETPIC=Z'8EE11000')
* PROCEDURE ScrollRect (R: Rect; Dh,Dv: Integer; UpdateRgn: RgnHandle);
INTEGER SCROLLRECT
PARAMETER (SCROLLRECT=Z'8EF31280')
* PROCEDURE StdPutPic (DataPtr: QDPtr; ByteCount: Integer);
INTEGER STDPUTPIC
PARAMETER (STDPUTPIC=Z'8F011000')
* PROCEDURE StdComment (Kind,DataSize: Integer; DataHandle: QDHandle);
INTEGER STDCOMMENT
PARAMETER (STDCOMMENT=Z'8F109400')
* PROCEDURE PicComment (Kind,DataSize: Integer; DataHandle: QDHandle);
INTEGER PICCOMMENT
PARAMETER (PICCOMMENT=Z'8F209400')
* FUNCTION OpenPicture (PicFrame: Rect): PicHandle;
INTEGER OPENPICTURE
PARAMETER (OPENPICTURE=Z'8F3B0000')
* PROCEDURE ClosePicture ;
INTEGER CLOSEPICTURE
PARAMETER (CLOSEPICTURE=Z'8F400000')
* PROCEDURE KillPicture (MyPicture: PicHandle);
INTEGER KILLPICTURE
PARAMETER (KILLPICTURE=Z'8F510000')
* PROCEDURE DrawPicture (MyPicture: PicHandle; DstRect: Rect);
INTEGER DRAWPICTURE
PARAMETER (DRAWPICTURE=Z'8F616000')
* PROCEDURE ScalePt (VAR Pt: Point; SrcRect,DstRect: Rect);
INTEGER SCALEPT
PARAMETER (SCALEPT=Z'8F836C00')
* PROCEDURE MapPt (VAR Pt: Point; SrcRect,DstRect: Rect);
INTEGER MAPPT
PARAMETER (MAPPT=Z'8F936C00')
* PROCEDURE MapRect (VAR R: Rect; SrcRect,DstRect: Rect);
INTEGER MAPRECT
PARAMETER (MAPRECT=Z'8FA36C00')
* PROCEDURE MapRgn (VAR Rgn: RgnHandle; SrcRect,DstRect: Rect);
INTEGER MAPRGN
PARAMETER (MAPRGN=Z'8FB36C00')
* PROCEDURE MapPoly (VAR Poly: PolyHandle; SrcRect,DstRect: Rect);
INTEGER MAPPOLY
PARAMETER (MAPPOLY=Z'8FC36C00')
* PROCEDURE InitFonts ;
INTEGER INITFONTS
PARAMETER (INITFONTS=Z'8FE00000')
* PROCEDURE GetFontName (FontNum: Integer; VAR TheName: Str255);
INTEGER GETFONTNAME
PARAMETER (GETFONTNAME=Z'8FF0E000')
* PROCEDURE GetFNum (FontName: Str255; VAR TheNum: Integer);
INTEGER GETFNUM
PARAMETER (GETFNUM=Z'90036000')
* FUNCTION SwapFont (InRec: FMInput): FMOutPtr;
INTEGER SWAPFONT
PARAMETER (SWAPFONT=Z'901B0000')
* FUNCTION RealFont (FontNum: Integer; Size: Integer): Boolean;
INTEGER REALFONT
PARAMETER (REALFONT=Z'902C9000')
* PROCEDURE SetFontLock (LockFlag: Boolean);
INTEGER SETFONTLOCK
PARAMETER (SETFONTLOCK=Z'90318000')
* PROCEDURE DrawGrowIcon (TheWindow: WindowPtr);
INTEGER DRAWGROWICON
PARAMETER (DRAWGROWICON=Z'90410000')
* FUNCTION DragGreyRgn (TheRgn: RgnHandle; StartPt: Point; LimitRect,
* SlopRect: Rect; Axis: Integer; ActionProc:
* ProcPtr): Integer;
INTEGER DRAGGREYRGN
PARAMETER (DRAGGREYRGN=Z'90592D8A')
* FUNCTION NewString (S: Str255): StringHandle;
INTEGER NEWSTRING
PARAMETER (NEWSTRING=Z'906B0000')
* PROCEDURE SetString (H: StringHandle; S: Str255);
INTEGER SETSTRING
PARAMETER (SETSTRING=Z'90716000')
* PROCEDURE ShowHide (TheWindow: WindowPtr; ShowFlg: Boolean);
INTEGER SHOWHIDE
PARAMETER (SHOWHIDE=Z'90813000')
* PROCEDURE CalcVis (Window: WindowPeek);
INTEGER CALCVIS
PARAMETER (CALCVIS=Z'90910000')
* PROCEDURE CalcVisBehind (StartWindow: WindowPeek; ClobberedRgn: RgnHandle);
INTEGER CALCVISBEHIND
PARAMETER (CALCVISBEHIND=Z'90A12000')
* PROCEDURE ClipAbove (Window: WindowPeek);
INTEGER CLIPABOVE
PARAMETER (CLIPABOVE=Z'90B10000')
* PROCEDURE PaintOne (Window: WindowPeek; ClobberedRgn: RgnHandle);
INTEGER PAINTONE
PARAMETER (PAINTONE=Z'90C12000')
* PROCEDURE PaintBehind (StartWindow: WindowPeek; ClobberedRgn: RgnHandle);
INTEGER PAINTBEHIND
PARAMETER (PAINTBEHIND=Z'90D12000')
* PROCEDURE SaveOld (Window: WindowPeek);
INTEGER SAVEOLD
PARAMETER (SAVEOLD=Z'90E10000')
* PROCEDURE DragNew (Window: WindowPeek; Update: Boolean);
INTEGER DRAGNEW
PARAMETER (DRAGNEW=Z'90F13000')
* PROCEDURE GetWMgrPort (VAR WPort: GrafPtr);
INTEGER GETWMGRPORT
PARAMETER (GETWMGRPORT=Z'91030000')
* FUNCTION CheckUpDate (VAR TheEvent: EventRecord): Boolean;
INTEGER CHECKUPDATE
PARAMETER (CHECKUPDATE=Z'911F0000')
* PROCEDURE InitWindows ;
INTEGER INITWINDOWS
PARAMETER (INITWINDOWS=Z'91200000')
* FUNCTION NewWindow (WStorage: Ptr; BoundsRect: Rect; Title: Str255;
* Visible: Boolean; ProcID: Integer; Behind: WindowPtr;
* GoAwayFlag: Boolean; RefCon: LongInt): WindowPtr;
INTEGER NEWWINDOW
PARAMETER (NEWWINDOW=Z'B1300000')
* PROCEDURE DisposeWindow (TheWindow: WindowPtr);
INTEGER DISPOSEWINDOW
PARAMETER (DISPOSEWINDOW=Z'91410000')
* PROCEDURE ShowWindow (TheWindow: WindowPtr);
INTEGER SHOWWINDOW
PARAMETER (SHOWWINDOW=Z'91510000')
* PROCEDURE HideWindow (TheWindow: WindowPtr);
INTEGER HIDEWINDOW
PARAMETER (HIDEWINDOW=Z'91610000')
* FUNCTION GetWRefCon (TheWindow: WindowPtr): LongInt;
INTEGER GETWREFCON
PARAMETER (GETWREFCON=Z'91790000')
* PROCEDURE SetWRefCon (TheWindow: WindowPtr; Data: LongInt);
INTEGER SETWREFCON
PARAMETER (SETWREFCON=Z'91812000')
* PROCEDURE GetWTitle (TheWindow: WindowPtr; VAR Title: Str255);
INTEGER GETWTITLE
PARAMETER (GETWTITLE=Z'91916000')
* PROCEDURE SetWTitle (TheWindow: WindowPtr; Title: Str255);
INTEGER SETWTITLE
PARAMETER (SETWTITLE=Z'91A16000')
* PROCEDURE MoveWindow (TheWindow: WindowPtr; HGlobal,VGlobal: Integer;
* Front: Boolean);
INTEGER MOVEWINDOW
PARAMETER (MOVEWINDOW=Z'91B112C0')
* PROCEDURE HiliteWindow (TheWindow: WindowPtr; FHilite: Boolean);
INTEGER HILITEWINDOW
PARAMETER (HILITEWINDOW=Z'91C13000')
* PROCEDURE SizeWindow (TheWindow: WindowPtr; W,H: Integer;
* FUpdate: Boolean);
INTEGER SIZEWINDOW
PARAMETER (SIZEWINDOW=Z'91D112C0')
* FUNCTION TrackGoAway (TheWindow: WindowPtr; ThePt: Point): Boolean;
INTEGER TRACKGOAWAY
PARAMETER (TRACKGOAWAY=Z'91ED2000')
* PROCEDURE SelectWindow (TheWindow: WindowPtr);
INTEGER SELECTWINDOW
PARAMETER (SELECTWINDOW=Z'91F10000')
* PROCEDURE BringToFront (TheWindow: WindowPtr);
INTEGER BRINGTOFRONT
PARAMETER (BRINGTOFRONT=Z'92010000')
* PROCEDURE SendBehind (TheWindow: WindowPtr; BehindWindow: WindowPtr);
INTEGER SENDBEHIND
PARAMETER (SENDBEHIND=Z'92112000')
* PROCEDURE BeginUpdate (TheWindow: WindowPtr);
INTEGER BEGINUPDATE
PARAMETER (BEGINUPDATE=Z'92210000')
* PROCEDURE EndUpdate (TheWindow: WindowPtr);
INTEGER ENDUPDATE
PARAMETER (ENDUPDATE=Z'92310000')
* FUNCTION FrontWindow : WindowPtr;
INTEGER FRONTWINDOW
PARAMETER (FRONTWINDOW=Z'92480000')
* PROCEDURE DragWindow (TheWindow: WindowPtr; StartPt: Point;
* BoundsRect: Rect);
INTEGER DRAGWINDOW
PARAMETER (DRAGWINDOW=Z'92512C00')
* PROCEDURE InvalRgn (BadRgn: RgnHandle);
INTEGER INVALRGN
PARAMETER (INVALRGN=Z'92710000')
* PROCEDURE InvalRect (BadRect: Rect);
INTEGER INVALRECT
PARAMETER (INVALRECT=Z'92830000')
* PROCEDURE ValidRgn (GoodRgn: RgnHandle);
INTEGER VALIDRGN
PARAMETER (VALIDRGN=Z'92910000')
* PROCEDURE ValidRect (GoodRect: Rect);
INTEGER VALIDRECT
PARAMETER (VALIDRECT=Z'92A30000')
* FUNCTION GrowWindow (TheWindow: WindowPtr; StartPt: Point;
* SizeRect: Rect): LongInt;
INTEGER GROWWINDOW
PARAMETER (GROWWINDOW=Z'92B92C00')
* FUNCTION FindWindow (ThePt: Point; VAR WhichWindow: WindowPtr): Integer;
INTEGER FINDWINDOW
PARAMETER (FINDWINDOW=Z'92C56000')
* PROCEDURE CloseWindow (TheWindow: WindowPtr);
INTEGER CLOSEWINDOW
PARAMETER (CLOSEWINDOW=Z'92D10000')
* PROCEDURE SetWindowPic (TheWindow: WindowPtr; Pic: PicHandle);
INTEGER SETWINDOWPIC
PARAMETER (SETWINDOWPIC=Z'92E12000')
* FUNCTION GetWindowPic (TheWindow: WindowPtr): PicHandle
INTEGER GETWINDOWPIC
PARAMETER (GETWINDOWPIC=Z'92F90000')
* PROCEDURE InitMenus ;
INTEGER INITMENUS
PARAMETER (INITMENUS=Z'93000000')
* FUNCTION NewMenu (MenuID: Integer; MenuTitle: Str255): MenuHandle;
INTEGER NEWMENU
PARAMETER (NEWMENU=Z'9318E000')
* PROCEDURE DisposeMenu (Menu: MenuHandle);
INTEGER DISPOSEMENU
PARAMETER (DISPOSEMENU=Z'93210000')
* PROCEDURE AppendMenu (Menu: MenuHandle; Data: Str255);
INTEGER APPENDMENU
PARAMETER (APPENDMENU=Z'93316000')
* PROCEDURE ClearMenuBar ;
INTEGER CLEARMENUBAR
PARAMETER (CLEARMENUBAR=Z'93400000')
* PROCEDURE InsertMenu (Menu: MenuHandle; BeforeID: Integer);
INTEGER INSERTMENU
PARAMETER (INSERTMENU=Z'93511000')
* PROCEDURE DeleteMenu (MenuID: Integer);
INTEGER DELETEMENU
PARAMETER (DELETEMENU=Z'93608000')
* PROCEDURE DrawMenuBar ;
INTEGER DRAWMENUBAR
PARAMETER (DRAWMENUBAR=Z'93700000')
* PROCEDURE HiliteMenu (MenuID: Integer);
INTEGER HILITEMENU
PARAMETER (HILITEMENU=Z'93808000')
* PROCEDURE EnableItem (Menu: MenuHandle; Item: Integer);
INTEGER ENABLEITEM
PARAMETER (ENABLEITEM=Z'93911000')
* PROCEDURE DisableItem (Menu: MenuHandle; Item: Integer);
INTEGER DISABLEITEM
PARAMETER (DISABLEITEM=Z'93A11000')
* FUNCTION GetMenuBar (MenuBarID: Integer): Handle;
INTEGER GETMENUBAR
PARAMETER (GETMENUBAR=Z'93B88000')
* PROCEDURE SetMenuBar (MenuBar: Handle);
INTEGER SETMENUBAR
PARAMETER (SETMENUBAR=Z'93C10000')
* FUNCTION MenuSelect (StartPt: Point): LongInt;
INTEGER MENUSELECT
PARAMETER (MENUSELECT=Z'93D90000')
* FUNCTION MenuKey (Ch: Char): LongInt;
INTEGER MENUKEY
PARAMETER (MENUKEY=Z'93E88000')
* PROCEDURE GetItemIcon (Menu: MenuHandle; Item: Integer; VAR Icon: Integer);
INTEGER GETITEMICON
PARAMETER (GETITEMICON=Z'93F11C00')
* PROCEDURE SetItemIcon (Menu: MenuHandle; Item: Integer; Icon: Integer);
INTEGER SETITEMICON
PARAMETER (SETITEMICON=Z'94011200')
* PROCEDURE GetItemStyle (Menu: MenuHandle; Item: Integer;
* VAR ChStyle: Style);
INTEGER GETITEMSTYLE
PARAMETER (GETITEMSTYLE=Z'94111C00')
* PROCEDURE GetItemMark (Menu: MenuHandle; Item: Integer;
* VAR MarkChar: Char);
INTEGER GETITEMMARK
PARAMETER (GETITEMMARK=Z'94311C00')
* PROCEDURE SetItemMark (Menu: MenuHandle; Item: Integer; MarkChar: Char);
INTEGER SETITEMMARK
PARAMETER (SETITEMMARK=Z'94411200')
* PROCEDURE CheckItem (Menu: MenuHandle; Item: Integer; Checked: Boolean);
INTEGER CHECKITEM
PARAMETER (CHECKITEM=Z'94511600')
* PROCEDURE GetItem (Menu: MenuHandle; Item: Integer; VAR ItemString:
* Str255);
INTEGER GETITEM
PARAMETER (GETITEM=Z'94611C00')
* PROCEDURE SetItem (Menu: MenuHandle; Item: Integer; ItemString: Str255);
INTEGER SETITEM
PARAMETER (SETITEM=Z'94711C00')
* PROCEDURE CalcMenuSize (Menu: MenuHandle);
INTEGER CALCMENUSIZE
PARAMETER (CALCMENUSIZE=Z'94810000')
* FUNCTION GetMHandle (MenuID: Integer): MenuHandle;
INTEGER GETMHANDLE
PARAMETER (GETMHANDLE=Z'94988000')
* PROCEDURE SetMenuFlash (Menu: MenuHandle; Count: Integer);
INTEGER SETMENUFLASH
PARAMETER (SETMENUFLASH=Z'94A11000')
* PROCEDURE PlotIcon (TheRect: Rect; TheIcon: Handle);
INTEGER PLOTICON
PARAMETER (PLOTICON=Z'94B32000')
* PROCEDURE FlashMenuBar (MenuId: Integer);
INTEGER FLASHMENUBAR
PARAMETER (FLASHMENUBAR=Z'94C08000')
* PROCEDURE AddResMenu (Menu: MenuHandle; TheType: ResType);
INTEGER ADDRESMENU
PARAMETER (ADDRESMENU=Z'94D12000')
* FUNCTION PinRect (TheRect: Rect; ThePt: Point): LongInt;
INTEGER PINRECT
PARAMETER (PINRECT=Z'94EB2000')
* FUNCTION DeltaPoint (ptA, ptB: Point) : LongInt;
INTEGER DELTAPOINT
PARAMETER (DELTAPOINT=Z'94F92000')
* FUNCTION CountMItems (Menu: MenuHandle): Integer;
INTEGER COUNTMITEMS
PARAMETER (COUNTMITEMS=Z'95050000')
* PROCEDURE InsertResMenu (Menu: MenuHandle; TheType: ResType;
* AfterItem: Integer);
INTEGER INSERTRESMENU
PARAMETER (INSERTRESMENU=Z'95112200')
* FUNCTION NewControl (TheWindow: windowPtr; BoundsRect: Rect; Title: Str255;
* Visible: Boolean; Value: Integer; Min,Max: Integer;
* ProcID: Integer; RefCon: LongInt): ControlHandle;
INTEGER NEWCONTROL
PARAMETER (NEWCONTROL=Z'B5400001')
* PROCEDURE DisposeControl (TheControl: ControlHandle);
INTEGER DISPOSECONTROL
PARAMETER (DISPOSECONTROL=Z'95510000')
* PROCEDURE KillControls (TheWindow: WindowPtr);
INTEGER KILLCONTROLS
PARAMETER (KILLCONTROLS=Z'95610000')
* PROCEDURE ShowControl (TheControl: ControlHandle);
INTEGER SHOWCONTROL
PARAMETER (SHOWCONTROL=Z'95710000')
* PROCEDURE HideControl (TheControl: ControlHandle);
INTEGER HIDECONTROL
PARAMETER (HIDECONTROL=Z'95810000')
* PROCEDURE MoveControl (TheControl: ControlHandle; H,V: Integer);
INTEGER MOVECONTROL
PARAMETER (MOVECONTROL=Z'95911200')
* FUNCTION GetCRefCon (TheControl: ControlHandle): LongInt;
INTEGER GETCREFCON
PARAMETER (GETCREFCON=Z'95A90000')
* PROCEDURE SetCRefCon (TheControl: ControlHandle; Data: LongInt);
INTEGER SETCREFCON
PARAMETER (SETCREFCON=Z'95B12000')
* PROCEDURE SizeControl (TheControl: ControlHandle; W,H: Integer);
INTEGER SIZECONTROL
PARAMETER (SIZECONTROL=Z'95C11200')
* PROCEDURE HiliteControl (TheControl: ControlHandle; HiliteState: Integer);
INTEGER HILITECONTROL
PARAMETER (HILITECONTROL=Z'95D11000')
* PROCEDURE GetCTitle (TheControl: ControlHandle; VAR Title: Str255);
INTEGER GETCTITLE
PARAMETER (GETCTITLE=Z'95E16000')
* PROCEDURE SetCTitle (TheControl: ControlHandle; Title: Str255);
INTEGER SETCTITLE
PARAMETER (SETCTITLE=Z'95F16000')
* FUNCTION GetCtlValue (TheControl: ControlHandle): Integer;
INTEGER GETCTLVALUE
PARAMETER (GETCTLVALUE=Z'96050000')
* FUNCTION GetCtlMin (TheControl: ControlHandle): Integer;
INTEGER GETCTLMIN
PARAMETER (GETCTLMIN=Z'96150000')
* FUNCTION GetCtlMax (TheControl: ControlHandle): Integer;
INTEGER GETCTLMAX
PARAMETER (GETCTLMAX=Z'96250000')
* PROCEDURE SetCtlValue (TheControl: ControlHandle; TheValue: Integer);
INTEGER SETCTLVALUE
PARAMETER (SETCTLVALUE=Z'96311000')
* PROCEDURE SetCtlMin (TheControl: ControlHandle; MinValue: Integer);
INTEGER SETCTLMIN
PARAMETER (SETCTLMIN=Z'96411000')
* PROCEDURE SetCtlMax (TheControl: ControlHandle; MaxValue: Integer);
INTEGER SETCTLMAX
PARAMETER (SETCTLMAX=Z'96511000')
* FUNCTION TestControl (TheControl: ControlHandle; ThePoint: Point): Integer;
INTEGER TESTCONTROL
PARAMETER (TESTCONTROL=Z'96652000')
* PROCEDURE DragControl (TheControl: ControlHandle; StartPt: Point;
* LimitRect,SlopRect: Rect; Axis: Integer);
INTEGER DRAGCONTROL
PARAMETER (DRAGCONTROL=Z'96712D88')
* FUNCTION TrackControl (TheControl: ControlHandle; StartPt: Point;
* ActionProc: ProcPtr): Integer;
INTEGER TRACKCONTROL
PARAMETER (TRACKCONTROL=Z'96852400')
* PROCEDURE DrawControls (TheWindow: WindowPtr);
INTEGER DRAWCONTROLS
PARAMETER (DRAWCONTROLS=Z'96910000')
* FUNCTION GetCtlAction (TheControl: ControlHandle): ProcPtr;
INTEGER GETCTLACTION
PARAMETER (GETCTLACTION=Z'96A90000')
* PROCEDURE SetCtlAction (TheControl: ControlHandle; ActionProc: ProcPtr);
INTEGER SETCTLACTION
PARAMETER (SETCTLACTION=Z'96B12000')
* FUNCTION FindControl (ThePoint: Point; TheWindow: WindowPtr; VAR
* WhichControl: ControlHandle): Integer;
INTEGER FINDCONTROL
PARAMETER (FINDCONTROL=Z'96C52C00')
* FUNCTION DeQueue (QElement: QElemPtr; TheQueue: QHdrPtr): OsErr;
INTEGER DEQUEUE
PARAMETER (DEQUEUE=Z'96E52000')
* PROCEDURE EnQueue (QElement: QElemPtr; TheQueue: QHdrPtr);
INTEGER ENQUEUE
PARAMETER (ENQUEUE=Z'96F12000')
* FUNCTION GetNextEvent (EventMask: Integer; VAR TheEvent: EventRecord):
* Boolean;
INTEGER GETNEXTEVENT
PARAMETER (GETNEXTEVENT=Z'970CE000')
* PROCEDURE GetMouse (VAR MouseLoc: Point);
INTEGER GETMOUSE
PARAMETER (GETMOUSE=Z'97230000')
* FUNCTION StillDown : Boolean;
INTEGER STILLDOWN
PARAMETER (STILLDOWN=Z'973C0000')
* FUNCTION Button : Boolean;
INTEGER BUTTON
PARAMETER (BUTTON=Z'974C0000')
* FUNCTION TickCount : LongInt;
INTEGER TICKCOUNT
PARAMETER (TICKCOUNT=Z'97580000')
* PROCEDURE GetKeys (VAR TheKeys: KeyMap);
INTEGER GETKEYS
PARAMETER (GETKEYS=Z'97630000')
* FUNCTION WaitMouseUp : Boolean;
INTEGER WAITMOUSEUP
PARAMETER (WAITMOUSEUP=Z'977C0000')
* PROCEDURE CouldDialog (DialogID: Integer);
INTEGER COULDDIALOG
PARAMETER (COULDDIALOG=Z'97908000')
* PROCEDURE FreeDialog (DialogID: Integer);
INTEGER FREEDIALOG
PARAMETER (FREEDIALOG=Z'97A08000')
* PROCEDURE InitDialogs (RestartProc: ProcPtr);
INTEGER INITDIALOGS
PARAMETER (INITDIALOGS=Z'97B10000')
* FUNCTION GetNewDialog (DialogID: Integer; DStorage: Ptr; Behind:
* WindowPtr): DialogPtr;
INTEGER GETNEWDIALOG
PARAMETER (GETNEWDIALOG=Z'97C8A400')
* FUNCTION NewDialog (DStorage: Ptr; BoundsRect: Rect; Title: Str255;
* Visible: Boolean; ProcID: Integer; Behind: WindowPtr;
* GoAwayFlag: Boolean; RefCon: LongInt; Items: Handle):
* DialogPtr;
INTEGER NEWDIALOG
PARAMETER (NEWDIALOG=Z'B7D00002')
* PROCEDURE SelIText (TheDialog: DialogPtr; ItemNo: Integer; StrtSel,
* EndSel: Integer);
INTEGER SELITEXT
PARAMETER (SELITEXT=Z'97E11240')
* FUNCTION IsDialogEvent (TheEvent: EventRecord): Boolean;
INTEGER ISDIALOGEVENT
PARAMETER (ISDIALOGEVENT=Z'97FF0000')
* FUNCTION DialogSelect (TheEvent: EventRecord; VAR TheDialog: DialogPtr;
* VAR ItemHit: Integer): Boolean;
INTEGER DIALOGSELECT
PARAMETER (DIALOGSELECT=Z'980F6C00')
* PROCEDURE DrawDialog (TheDialog: DialogPtr);
INTEGER DRAWDIALOG
PARAMETER (DRAWDIALOG=Z'98110000')
* PROCEDURE CloseDialog (TheDialog: DialogPtr);
INTEGER CLOSEDIALOG
PARAMETER (CLOSEDIALOG=Z'98210000')
* PROCEDURE DisposeDialog (TheDialog: DialogPtr);
INTEGER DISPOSEDIALOG
PARAMETER (DISPOSEDIALOG=Z'98310000')
* FUNCTION Alert (AlertID: Integer; FilterProc: ProcPtr): Integer;
INTEGER ALERT
PARAMETER (ALERT=Z'9854A000')
* FUNCTION StopAlert (AlertID: Integer; FilterProc: ProcPtr): Integer;
INTEGER STOPALERT
PARAMETER (STOPALERT=Z'9864A000')
* FUNCTION NoteAlert (AlertID: Integer; FilterProc: ProcPtr): Integer;
INTEGER NOTEALERT
PARAMETER (NOTEALERT=Z'9874A000')
* FUNCTION CautionAlert (AlertID: Integer; FilterProc: ProcPtr): Integer;
INTEGER CAUTIONALERT
PARAMETER (CAUTIONALERT=Z'9884A000')
* PROCEDURE CouldAlert (AlertID: Integer);
INTEGER COULDALERT
PARAMETER (COULDALERT=Z'98908000')
* PROCEDURE FreeAlert (AlertID: Integer);
INTEGER FREEALERT
PARAMETER (FREEALERT=Z'98A08000')
* PROCEDURE ParamText (Param0,Param1,Param2,Param3: Str255);
INTEGER PARAMTEXT
PARAMETER (PARAMTEXT=Z'98B36D80')
* PROCEDURE ErrorSound (SoundProc: ProcPtr);
INTEGER ERRORSOUND
PARAMETER (ERRORSOUND=Z'98C10000')
* PROCEDURE GetDItem (TheDialog: DialogPtr; ItemNo: Integer; VAR Type:
* Integer; VAR Item: Handle; VAR Box: Rect);
INTEGER GETDITEM
PARAMETER (GETDITEM=Z'98D11DB0')
* PROCEDURE SetDItem (TheDialog: DialogPtr; ItemNo: Integer; Type: Integer;
* Item: Handle; Box: Rect);
INTEGER SETDITEM
PARAMETER (SETDITEM=Z'98E112B0')
* PROCEDURE SetIText (Item: Handle; Text: Str255);
INTEGER SETITEXT
PARAMETER (SETITEXT=Z'98F16000')
* PROCEDURE GetIText (Item: Handle; VAR Text: Str255);
INTEGER GETITEXT
PARAMETER (GETITEXT=Z'99016000')
* PROCEDURE ModalDialog (FilterProc: ProcPtr; VAR ItemHit: Integer);
INTEGER MODALDIALOG
PARAMETER (MODALDIALOG=Z'99116000')
* PROCEDURE DetachResource (TheResource: Handle);
INTEGER DETACHRESOURCE
PARAMETER (DETACHRESOURCE=Z'99210000')
* PROCEDURE SetResPurge (Install: Boolean);
INTEGER SETRESPURGE
PARAMETER (SETRESPURGE=Z'99318000')
* FUNCTION CurResFile : Integer;
INTEGER CURRESFILE
PARAMETER (CURRESFILE=Z'99440000')
* FUNCTION InitResource : Integer;
INTEGER INITRESOURCE
PARAMETER (INITRESOURCE=Z'99540000')
* PROCEDURE RsrcZoneInit ;
INTEGER RSRCZONEINIT
PARAMETER (RSRCZONEINIT=Z'99600000')
* FUNCTION OpenResFile (Filename: Str255): Integer
INTEGER OPENRESFILE
PARAMETER (OPENRESFILE=Z'99770000')
* PROCEDURE UseResFile (Refnum: Integer)
INTEGER USERESFILE
PARAMETER (USERESFILE=Z'99808000')
* PROCEDURE UpdateResFile (Refnum: Integer)
INTEGER UPDATERESFILE
PARAMETER (UPDATERESFILE=Z'99908000')
* PROCEDURE CloseResFile (Refnum: Integer)
INTEGER CLOSERESFILE
PARAMETER (CLOSERESFILE=Z'99A08000')
* PROCEDURE SetResLoad (Load: Boolean);
INTEGER SETRESLOAD
PARAMETER (SETRESLOAD=Z'99B18000')
* FUNCTION CountResources (TheType: ResType): Integer;
INTEGER COUNTRESOURCES
PARAMETER (COUNTRESOURCES=Z'99C50000')
* FUNCTION GetIndResource (TheType: ResType; Index: Integer): Handle;
INTEGER GETINDRESOURCE
PARAMETER (GETINDRESOURCE=Z'99D91000')
* FUNCTION CountTypes : Integer;
INTEGER COUNTTYPES
PARAMETER (COUNTTYPES=Z'99E40000')
* PROCEDURE GetIndType (VAR TheType: ResType; Index: Integer);
INTEGER GETINDTYPE
PARAMETER (GETINDTYPE=Z'99F31000')
* FUNCTION GetResource (TheType: ResType; TheID: Integer): Handle;
INTEGER GETRESOURCE
PARAMETER (GETRESOURCE=Z'9A091000')
* FUNCTION GetNamedResourc (TheType: ResType: Name: Str255): Handle;
INTEGER GETNAMEDRESOURC
PARAMETER (GETNAMEDRESOURC=Z'9A196000')
* PROCEDURE LoadResource (TheResource: Handle);
INTEGER LOADRESOURCE
PARAMETER (LOADRESOURCE=Z'9A210000')
* PROCEDURE ReleaseResource (TheResource: Handle);
INTEGER RELEASERESOURCE
PARAMETER (RELEASERESOURCE=Z'9A310000')
* FUNCTION GetResAttrs (TheResource: Handle): Integer;
INTEGER GETRESATTRS
PARAMETER (GETRESATTRS=Z'9A650000')
* PROCEDURE SetResAttrs (TheResource: Handle; Attrs: Integer);
INTEGER SETRESATTRS
PARAMETER (SETRESATTRS=Z'9A711000')
* PROCEDURE GetResInfo (TheResource: Handle; VAR TheID: Integer;
* VAR TheType: ResType; VAR Name: Str255);
INTEGER GETRESINFO
PARAMETER (GETRESINFO=Z'9A816D80')
* PROCEDURE ChangedResource (TheResource: Handle);
INTEGER CHANGEDRESOURCE
PARAMETER (CHANGEDRESOURCE=Z'9AA10000')
* PROCEDURE AddResource (TheData: Handle; TheType: ResType; TheID: Integer;
* Name: Str255);
INTEGER ADDRESOURCE
PARAMETER (ADDRESOURCE=Z'9AB12380')
* PROCEDURE AddReference (TheResource: Handle; TheID: Integer; Name: Str255);
INTEGER ADDREFERENCE
PARAMETER (ADDREFERENCE=Z'9AC11C00')
* PROCEDURE RmveResource (TheResource: Handle);
INTEGER RMVERESOURCE
PARAMETER (RMVERESOURCE=Z'9AD10000')
* PROCEDURE RmveReference (TheResource: Handle);
INTEGER RMVEREFERENCE
PARAMETER (RMVEREFERENCE=Z'9AE10000')
* FUNCTION ResError : Integer;
INTEGER RESERROR
PARAMETER (RESERROR=Z'9AF40000')
* PROCEDURE WriteResource (TheResource: Handle);
INTEGER WRITERESOURCE
PARAMETER (WRITERESOURCE=Z'9B010000')
* PROCEDURE CreateResFile (FileName: Str255);
INTEGER CREATERESFILE
PARAMETER (CREATERESFILE=Z'9B130000')
* FUNCTION SystemEvent (TheEvent: EventRecord): Boolean;
INTEGER SYSTEMEVENT
PARAMETER (SYSTEMEVENT=Z'9B2F0000')
* PROCEDURE SystemClick (TheEvent: EventRecord; TheWindow: WindowPtr);
INTEGER SYSTEMCLICK
PARAMETER (SYSTEMCLICK=Z'9B332000')
* PROCEDURE SystemTask ;
INTEGER SYSTEMTASK
PARAMETER (SYSTEMTASK=Z'9B400000')
* PROCEDURE SystemMenu (MenuResult: LongInt);
INTEGER SYSTEMMENU
PARAMETER (SYSTEMMENU=Z'9B510000')
* FUNCTION OpenDskAcc (TheAcc: Str255): Integer;
INTEGER OPENDSKACC
PARAMETER (OPENDSKACC=Z'9B670000')
* PROCEDURE CloseDskAcc (RefNum: Integer);
INTEGER CLOSEDSKACC
PARAMETER (CLOSEDSKACC=Z'9B708000')
* FUNCTION GetPattern (PatID: Integer): PatHandle;
INTEGER GETPATTERN
PARAMETER (GETPATTERN=Z'9B888000')
* FUNCTION GetCursor (CursorID: Integer): CursorHandle;
INTEGER GETCURSOR
PARAMETER (GETCURSOR=Z'9B988000')
* FUNCTION GetString (StringID: Integer): StringHandle;
INTEGER GETSTRING
PARAMETER (GETSTRING=Z'9BA88000')
* FUNCTION GetIcon (IconID: Integer): Handle;
INTEGER GETICON
PARAMETER (GETICON=Z'9BB88000')
* FUNCTION GetPicture (PictureID: Integer): PicHandle;
INTEGER GETPICTURE
PARAMETER (GETPICTURE=Z'9BC88000')
* FUNCTION GetNewWindow (WindowID: Integer; WStorage: Ptr; Behind:
* WindowPtr): WindowPtr;
INTEGER GETNEWWINDOW
PARAMETER (GETNEWWINDOW=Z'9BD8A400')
* FUNCTION GetNewControl (ControlID: Integer; TheWindow: WindowPtr):
* ControlHandle;
INTEGER GETNEWCONTROL
PARAMETER (GETNEWCONTROL=Z'9BE8A000')
* FUNCTION GetMenu (MenuID: Integer): MenuHandle;
INTEGER GETMENU
PARAMETER (GETMENU=Z'9BF88000')
* FUNCTION GetNewMBar (MenuBarID: Integer): Handle;
INTEGER GETNEWMBAR
PARAMETER (GETNEWMBAR=Z'9C088000')
* FUNCTION UniqueID (TheType: ResType): Integer;
INTEGER UNIQUEID
PARAMETER (UNIQUEID=Z'9C150000')
* FUNCTION SystemEdit (EditCmd: Integer): Boolean;
INTEGER SYSTEMEDIT
PARAMETER (SYSTEMEDIT=Z'9C2C8000')
* PROCEDURE SystemBeep (Duration: Integer)
INTEGER SYSTEMBEEP
PARAMETER (SYSTEMBEEP=Z'9C808000')
* FUNCTION TEGetText (HTE: TEHandle): CharsHandle;
INTEGER TEGETTEXT
PARAMETER (TEGETTEXT=Z'9CB90000')
* PROCEDURE TEInit ;
INTEGER TEINIT
PARAMETER (TEINIT=Z'9CC00000')
* PROCEDURE TEDispose (HTE: TEHandle);
INTEGER TEDISPOSE
PARAMETER (TEDISPOSE=Z'9CD10000')
* PROCEDURE TextBox (Text: Ptr; Length: LongInt; Box: Rect; J: Integer);
INTEGER TEXTBOX
PARAMETER (TEXTBOX=Z'9CE12C40')
* PROCEDURE TESetText (Text: Ptr; Length: LongInt; HTE: TEHandle);
INTEGER TESETTEXT
PARAMETER (TESETTEXT=Z'9CF12400')
* PROCEDURE TECalText (HTE: TEHandle);
INTEGER TECALTEXT
PARAMETER (TECALTEXT=Z'9D010000')
* PROCEDURE TESetSelect (SetStart,SelEnd: LongInt; HTE: TEHandle);
INTEGER TESETSELECT
PARAMETER (TESETSELECT=Z'9D112400')
* FUNCTION TENew (DestRect,ViewRect: Rect): TEHandle;
INTEGER TENEW
PARAMETER (TENEW=Z'9D2B6000')
* PROCEDURE TEUpdate (RUpdate: Rect; HTE: TEHandle);
INTEGER TEUPDATE
PARAMETER (TEUPDATE=Z'9D332000')
* PROCEDURE TEClick (Pt: Point; Extend: Boolean; HTE: TEHandle);
INTEGER TECLICK
PARAMETER (TECLICK=Z'9D413400')
* PROCEDURE TECopy (HTE: TEHandle);
INTEGER TECOPY
PARAMETER (TECOPY=Z'9D510000')
* PROCEDURE TECut (HTE: TEHandle);
INTEGER TECUT
PARAMETER (TECUT=Z'9D610000')
* PROCEDURE TEDelete (HTE: TEHandle);
INTEGER TEDELETE
PARAMETER (TEDELETE=Z'9D710000')
* PROCEDURE TEActivate (HTE: TEHandle);
INTEGER TEACTIVATE
PARAMETER (TEACTIVATE=Z'9D810000')
* PROCEDURE TEDeactivate (HTE: TEHandle);
INTEGER TEDEACTIVATE
PARAMETER (TEDEACTIVATE=Z'9D910000')
* PROCEDURE TEIdle (HTE: TEhandle);
INTEGER TEIDLE
PARAMETER (TEIDLE=Z'9DA10000')
* PROCEDURE TEPaste (HTE: TEHandle);
INTEGER TEPASTE
PARAMETER (TEPASTE=Z'9DB10000')
* PROCEDURE TEKey (Key: Char; HTE: TEHandle);
INTEGER TEKEY
PARAMETER (TEKEY=Z'9DC0A000')
* PROCEDURE TEScroll (Dh,Dv: Integer; HTE: TEHandle);
INTEGER TESCROLL
PARAMETER (TESCROLL=Z'9DD09400')
* PROCEDURE TEInsert (Text: Ptr; Length: LongInt; HTE: TEHandle);
INTEGER TEINSERT
PARAMETER (TEINSERT=Z'9DE12400')
* PROCEDURE TESetJust (J: Integer; HTE: TEHandle);
INTEGER TESETJUST
PARAMETER (TESETJUST=Z'9DF0A000')
* FUNCTION Munger (H: Handle; Offset: LongInt; Ptr1: Ptr; Len1: LongInt;
* Ptr2: Ptr; Len2: LongInt): LongInt;
INTEGER MUNGER
PARAMETER (MUNGER=Z'9E092492')
* FUNCTION HandToHand (VAR TheHndl: Handle): OsErr;
INTEGER HANDTOHAND
PARAMETER (HANDTOHAND=Z'9E150000')
* FUNCTION PtrToXHand (SrcPtr: Ptr; DstHndl: Handle; Size: LongInt): OsErr;
INTEGER PTRTOXHAND
PARAMETER (PTRTOXHAND=Z'9E252400')
* FUNCTION PtrToHand (SrcPtr: Ptr; VAR DstHndl: Handle; Size: LongInt)
* : OsErr;
INTEGER PTRTOHAND
PARAMETER (PTRTOHAND=Z'9E356400')
* FUNCTION HandAndHand (AHndl,BHndl: Handle): OsErr;
INTEGER HANDANDHAND
PARAMETER (HANDANDHAND=Z'9E452000')
* PROCEDURE InitPack (packID: INTEGER);
INTEGER INITPACK
PARAMETER (INITPACK=Z'9E508000')
* PROCEDURE SFPutFile (selector: Integer; where: Point; prompt: Str25;
* origName: Str255; dlgHook: ProcPtr;
* VAR reply: SFReply);
INTEGER SFPUTFILE
PARAMETER (SFPUTFILE=Z'9EA16CB1')
* PROCEDURE SFGetFile (selector: Integer; where: Point; prompt: Str25;
* fileFilter: ProcPtr; numTypes: Integer;
* typeList: SFListPtr; dlgHook: ProcPtr;
* VAR reply: SFReply);
INTEGER SFGETFILE
PARAMETER (SFGETFILE=Z'BEA00003')
* FUNCTION PtrAndHand (Pntr: Ptr; Hndl: Handle; Size: LongInt): OsErr;
INTEGER PTRANDHAND
PARAMETER (PTRANDHAND=Z'9EF52400')
* PROCEDURE LoadSeg (segID: INTEGER);
INTEGER LOADSEG
PARAMETER (LOADSEG=Z'9F008000')
* PROCEDURE UnloadSeg (RoutineAddr: Ptr);
INTEGER UNLOADSEG
PARAMETER (UNLOADSEG=Z'9F110000')
* PROCEDURE ExitToShell ;
INTEGER EXITTOSHELL
PARAMETER (EXITTOSHELL=Z'9F400000')
* PROCEDURE GetAppParms (VAR ApName: String[31]; VAR ApRefNum: Integer;
* VAR ApParm: Handle);
INTEGER GETAPPPARMS
PARAMETER (GETAPPPARMS=Z'9F536C00')
* FUNCTION GetResFileAttrs (RefNum: Integer): Integer;
INTEGER GETRESFILEATTRS
PARAMETER (GETRESFILEATTRS=Z'9F648000')
* PROCEDURE SetResFileAttrs (RefNum: Integer; Attrs: Integer);
INTEGER SETRESFILEATTRS
PARAMETER (SETRESFILEATTRS=Z'9F709000')
* FUNCTION InfoScrap : PScrapStuff;
INTEGER INFOSCRAP
PARAMETER (INFOSCRAP=Z'9F980000')
* FUNCTION UnloadScrap : LongInt;
INTEGER UNLOADSCRAP
PARAMETER (UNLOADSCRAP=Z'9FA80000')
* FUNCTION LoadScrap : LongInt;
INTEGER LOADSCRAP
PARAMETER (LOADSCRAP=Z'9FB80000')
* FUNCTION ZeroScrap : LongInt;
INTEGER ZEROSCRAP
PARAMETER (ZEROSCRAP=Z'9FC80000')
* FUNCTION GetScrap (HDest: Handle; TheType: ResType; VAR Offset: LongInt)
* : LongInt;
INTEGER GETSCRAP
PARAMETER (GETSCRAP=Z'9FD92C00')
* FUNCTION PutScrap (Length: LongInt; TheType: ResType; Source: Ptr)
* : LongInt;
INTEGER PUTSCRAP
PARAMETER (PUTSCRAP=Z'9FE92400')
* FUNCTION PTR (ANYTYPE) : PTR; ; A funny trap.
INTEGER PTR
PARAMETER (PTR=Z'C0000000')
* FUNCTION GETGLOBAL : PTR; ; A funny trap. Returns A5.
INTEGER GETGLOBAL
PARAMETER (GETGLOBAL=Z'C0000001')
* FUNCTION MEMERROR : OSERR; ; Returns last memory error.
INTEGER MEMERROR
PARAMETER (MEMERROR=Z'C0000002')